//
//  SettingsViewController.h
//  ABColoringBook
//
//  Created by Oli Chira on 11/6/12.
//  Copyright (c) 2012 Oli Chira. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol SettingsViewControllerDelegate <NSObject>
- (void)closeSettings:(id)sender tag:(int)tag;
@end

@interface SettingsViewController : UIViewController


@property CGFloat red, green, blue, brush, opacity;
@property (nonatomic, weak) id<SettingsViewControllerDelegate> delegate;

@property (weak, nonatomic) IBOutlet UIImageView *backImg;

@property (weak, nonatomic) IBOutlet UISlider *brushSlider;
@property (weak, nonatomic) IBOutlet UISlider *opacitySlider;
@property (weak, nonatomic) IBOutlet UISlider *redControl;
@property (weak, nonatomic) IBOutlet UISlider *greenControl;
@property (weak, nonatomic) IBOutlet UISlider *blueControl;

@property (weak, nonatomic) IBOutlet UILabel *brushLabel;
@property (weak, nonatomic) IBOutlet UILabel *opacityLabel;
@property (weak, nonatomic) IBOutlet UILabel *redLabel;
@property (weak, nonatomic) IBOutlet UILabel *greenLabel;
@property (weak, nonatomic) IBOutlet UILabel *blueLabel;

@property (weak, nonatomic) IBOutlet UIImageView *brushImg;
@property (weak, nonatomic) IBOutlet UIImageView *opacityImg;

- (IBAction)sliderChanged:(UISlider *)sender;

@property (weak, nonatomic) IBOutlet UIButton *btnSave;
@property (weak, nonatomic) IBOutlet UIButton *btnCancel;

- (IBAction)closeSettings:(UIButton *)sender;


@end
